<div class="mainBody-box-bg1">
	<div>
	<form method="get" id="formSearch" action="">
		<div class="left">标题关键字：<input type="text" id="txt_title" name="txt_title" value="{$title}" style="width:180px;"/></div>
		<div class="left" style="padding-top:3px;">
			<a id="searchButton" onclick="document.getElementById('formSearch').submit();" class="buttonStyle"><span></span>搜 索</a>
		</div>
	</form>
	</div>
	<span class="action-span"><i class="action-span-add"></i><a href="{$manageDomain}newsManage/add">添加新闻</a></span>
</div>

<div class="list-div" id="listDiv">
<form method="post" id="listForm">
<table cellspacing='1' cellpadding='1' id='list-table' bgcolor="#cccccc" width="100%" class="table1">
  <tr>
  	<th height="40px" align="left">
  		<input type="checkbox" onclick="checkBoxSelectAll(this,'checkboxes','listDiv')" />
  		标题</th>
    <th width="150px">发布时间</th>    
    <th width="120px"><div class="left"><a class="buttonStyle" onclick="listForm.submit();" id="btnSubmit" ><span></span>保存排序</a></div></th>
    <th width="120px">操作</th>
  </tr>
  {foreach from=$list item=list}
  <tr>
  	<td align="left" height="40"><input type="checkbox" name="checkboxes[]" class='idsClass' value="{$list.news_id}" />
	{$list.title}</td>
    <td align="center">{$list.pub_time}</td>
    <td><input type="text" value="{$list.sort_num}" name="txtSort-{$list.news_id}" class="txtSort"
						id="txtSort-{$list.news_id}" /></td>
    <td align="center"><a href="{$manageDomain}newsManage/edit/?id={$list.news_id}" title="编辑">编辑</a>&nbsp;&nbsp;
      <a href="{$manageDomain}newsManage/del/?id={$list.news_id}" onclick="return confirm('您确定要删除此用户吗?')" title="删除">删除</a>
      </td>
  </tr>
  {/foreach}
  <tr>
    <th height="40"><div class="left"><a class="buttonStyle" onclick="batchDel('{$manageDomain}newsManage/batchDel/','idsClass')" id="btnSubmit" ><span></span>批量删除</a></div></th>
    <th align="right" colspan="3">{$pageStr}</th>
  </tr>
</table>
</form>
</div>
